package com.ruoyi.produce.process.bulletin.domain;

import java.util.List;

/**
 * @author Drj 2021/12/20
 * 柱状图
 */
public class Achievement {
    /**
     * 员工编号
     */
    private String staffId;
    /**
     * 员工名称
     */
    private String staffName;
    /**
     * 车间名称
     */
    private String workshop;
    /**
     * 员工每日的绩效数据
     * 存放一周的
     */
    List<AchievementInfo> achievementInfoList;

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        switch (workshop){
            case "0":this.workshop = "注塑车间";break;
            case "1":this.workshop = "包装车间";break;
        }
    }

    public List<AchievementInfo> getAchievementInfoList() {
        return achievementInfoList;
    }

    public void setAchievementInfoList(List<AchievementInfo> achievementInfoList) {
        this.achievementInfoList = achievementInfoList;
    }
}
